package com.example.speeddating.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.speeddating.entity.Blacklist;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 * @author tina
 * @since 2023-08-14 10:32:59
 */
public interface BlacklistService extends IService<Blacklist> {

    void addBlackList(Long id, Long black_user_id);

    void removeBlackList(Integer id);

    Page<Blacklist> getBlackList(Long id, int pageNum, int pageSize);

    Blacklist selectBlackListByid(Long userId,Long blackId);
}
